<include file="Public:header" />
<script language=javascript src="__PUBLIC__/Js/wpCalendar.js"></script>
<style>
iframe{top: 210px;
    left: 100px;
    height: 220px;}
</style>
<div class="ncenter_box">
    <div class="accounttitle">
        <h1>奖金查询 </h1></div>
        <form id="form1" name="form1" method="post" action="__APP__/Bonus/financeTable">
            <table width="100%" align="center">
                <tr>
                    <td>会员编号：
                    </td>
                    <td>
                        <input name="UserID" type="text" id="UserID" title="帐号查询" maxlength="200">
                    </td>
                    <td>
                        <input type="submit" name="Submit" value="搜索" class="ui negative basic mini btn button_text" />
                    </td>
                </tr>
            </table>
        </form>
    <table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="1" id="tb1" bgcolor="#b9c8d0">
        <thead>
            <tr>
                <th><span>结算时间</span></th>
                <th {$c_b[1]}><span>{$fee_s7[0]}</span></th>
                <th {$c_b[2]}><span>{$fee_s7[1]}</span></th>
                <!--<th ><span>{$fee_s7[2]}</span></th>-->
                <th {$c_b[4]}><span>{$fee_s7[3]}</span></th>
                <th {$c_b[5]}><span>{$fee_s7[4]}</span></th>
                <th {$c_b[6]}><span>{$fee_s7[5]}</span></th>
                <th {$c_b[7]}><span>{$fee_s7[6]}</span></th>
                <th {$c_b[8]}><span>{$fee_s7[7]}</span></th>
                <th {$c_b[9]}><span>{$fee_s7[8]}</span></th>
                <th {$c_b[10]}><span>{$b_b[10]}</span></th>
                <th {$c_b[11]}><span>{$b_b[11]}</span></th>
                <th {$c_b[13]}><span>{$b_b[13]}</span></th>
                <th {$c_b[0]}><span>{$b_b[0]}</span></th>
                <th {$c_b[12]}><span>{$b_b[12]}</span></th>
            </tr>
        </thead>
        <volist name='list' id='vo'>
            <tr align="center">
                <td>{$vo['e_date']|date='Y-m-d H:i:s',###}</td>
                <td {$c_b[1]}>{$vo['b1']}</td>
                <td {$c_b[2]}>{$vo['b2']}</td>
                <!--<td >{$vo['b3']}</td>-->
                <td {$c_b[4]}>{$vo['b4']}</td>
                <td {$c_b[5]}>{$vo['b5']}</td>
                <td {$c_b[6]}>{$vo['b6']}</td>
                <td {$c_b[7]}>{$vo['b7']}</td>
                <td {$c_b[8]}>{$vo['b8']}</td>
                <td {$c_b[9]}>{$vo['b9']}</td>
                <td {$c_b[10]}>{$vo['b10']}</td>
                <td {$c_b[11]}>{$vo['b1']+$vo['b2']+$vo['b3']+$vo['b4']+$vo['b5']+$vo['b6']+$vo['b7']+$vo['b8']}</td>
                <td {$c_b[13]}>{$vo['b1']+$vo['b2']+$vo['b3']+$vo['b4']+$vo['b5']+$vo['b6']+$vo['b7']+$vo['b8']-$vo['b0']}</td>
                <td {$c_b[0]}>{$vo['b0']}</td>
                <td {$c_b[12]}><a href="__URL__/adminFinanceTableShow/did/{$vo['did']}/" title="查看这一期得奖会员">查看</a></td>
            </tr>
        </volist>
        <tr align="center">
            <td>总计：</td>
            <td {$c_b[1]}>{$count[1]}</td>
            <td {$c_b[2]}>{$count[2]}</td>
            <td>{$count[3]}</td>
            <td {$c_b[4]}>{$count[4]}</td>
            <td {$c_b[5]}>{$count[5]}</td>
            <td {$c_b[6]}>{$count[6]}</td>
            <td {$c_b[7]}>{$count[7]}</td>
            <td {$c_b[8]}>{$count[8]}</td>
            <td {$c_b[9]}>{$count[9]}</td>
            <td {$c_b[10]}>{$count[10]}</td>
            <td {$c_b[11]}>{$count[1]+$count[2]+$count[3]+$count[4]+$count[5]+$count[6]+$count[7]+$count[8]}</td>
            <td {$c_b[13]}>{$count[1]+$count[2]+$count[3]+$count[4]+$count[5]+$count[6]+$count[7]+$count[8]-$count[0]}</td>
            <td {$c_b[0]}>{$count[0]}</td>
        </tr>
    </table>
    <form id="form1" name="form1" method="post" action="__URL__/adminFinanceTable">
        <table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1">
            <tr>
                <td> 奖金日期：</td>
                <td class="tabletd">
                    <input name="FanNowDate" type="text" id="FanNowDate" onFocus="showCalendar(this)" readonly />
                </td>
                <td colspan="25">
                    <input type="submit" name="Submit" value="查询" class="ui negative basic mini btn button_text" />
                </td>
            </tr>
            <tr>
                <td colspan="25" align="right">
                    <input name="button3" type="button" onclick="window.location.href='__URL__/financeDaoChu_JJCX/p/{$PP}/'" value="导出Excel" class="ui negative basic mini btn button_text" />
                </td>
            </tr>
            <tr>
                <td colspan="25">{$page}</td>
            </tr>
        </table>
    </form>
<div style="height: 60px;"></div>
</div>
<script>
new TableSorter("tb1");
</script>
<include file="Public:footer" />
